package com.yvtian.inv.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 生产入库单(inv_in_stock)表实体类
 *
 * @author long
 * @since 2024-07-02 13:43:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "inv_in_stock")
public class InvInStockEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 生产入库单编码
     */
    @TableField(value = "code")
    private String code;
    /**
     * 加工单编码
     */
    @TableField(value = "inv_order_code")
    private String invOrderCode;
    /**
     * 入库仓库编码
     */
    @TableField(value = "stock_code")
    private String stockCode;
    /**
     * 入库仓库名称
     */
    @TableField(value = "stock_name")
    private String stockName;
    /**
     * 存放的仓库位置
     */
    @TableField(value = "stock_location")
    private String stockLocation;
    /**
     * 所属项目
     */
    @TableField(value = "project_code")
    private String projectCode;
    /**
     * 所属项目名称
     */
    @TableField(value = "project_name")
    private String projectName;
    /**
     * 商品编码
     */
    @TableField(value = "shop_code")
    private String shopCode;
    /**
     * 商品名称
     */
    @TableField(value = "shop_name")
    private String shopName;
    /**
     * 入库数量
     */
    @TableField(value = "acc_quantity")
    private BigDecimal accQuantity;
    /**
     * 型号规格
     */
    @TableField(value = "attribute")
    private String attribute;
    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;
    /**
     * 成本单价
     */
    @TableField(value = "price")
    private BigDecimal price;
    /**
     * 成本总价
     */
    @TableField(value = "amount")
    private BigDecimal amount;
    /**
     * 是否入库：0未入库，1：已入库
     */
    @TableField(value = "isInbound")
    private String isInbound;
    /**
     * 0:未审核，1已审核
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 0:未删除，1已删除
     */
    @TableField(value = "is_del")
    private Integer isDel;
    @TableField(value = "del_time")
    private Date delTime;
    @TableField(value = "del_name")
    private String delName;
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "create_name")
    private String createName;
    @TableField(value = "create_user")
    private String createUser;
    @TableField(value = "update_time")
    private Date updateTime;
    @TableField(value = "update_name")
    private String updateName;
    @TableField(value = "update_user")
    private String updateUser;
    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;
    /**
     * 审核人员
     */
    @TableField(value = "check_name")
    private String checkName;
    /**
     * 审核人员ID
     */
    @TableField(value = "check_user")
    private String checkUser;
    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "check_time")
    private Date checkTime;


}

